package qf.service;

import qf.pojo.User;

/**
 * @author 86198
 * @version V1.0
 * @Project Java_qf
 * @Package qf.service
 * @Description:
 * @Date 2022/5/23 15:21
 */
public interface UserService {
    /**
     * 查找是否为会员
     * @param username
     * @param password
     * @return
     */
    public User findUsers(String username,String password);

    /**
     * 查看用户名是否重复
     * @param username
     * @return
     */
    public boolean findUserName(String username);

    /**
     * 注册用户
     * @param user
     * @return
     */
    public int registerUser(User user);
}
